<template>
  <div id="app">
      <el-input v-model="input"></el-input>
      <el-button @click="submit">提交</el-button>
  </div>
</template>

<script>
// import Builder from './components/Builder'

export default {
  name: 'Test',
  components: {
  },
  data(){
    return {
        input:""
    }
  },
  mounted(){
  },
  methods:{
      submit(){
          console.log(this.input);
          this.$emit("update", this.input)
      }
  }
}
</script>

<style>

</style>
